<?php
class Categorymanager_Data_Deletecategorysettings implements Categorymanager_Data_Mainable{
    
    private $core_controller_dataoperation;
    
    public function __construct() {
        $this->core_controller_dataoperation = new Core_Controller_Dataoperation;
    }
    
    public function main(array $variables = null) {
        $variables['query'] = "DELETE FROM category_settings WHERE category_name = '".$variables['get']['name']."';";
        //var_dump($variables['query']);
        //die();
        return $this->core_controller_dataoperation->main($variables);
    }

}
